{% extends "projects/base.html" %}

{% load i18n %}
{% load person_tags %}

{% block head_title %}Person - {{object.first_name}} {{object.last_name}}{% endblock %}

{% block body %}

	<div class="right_panel">
	    <h1>{{object.first_name}} {{object.last_name}}</h1>
	    
	    <table>
	      <tr>
	        <th>Status</th>
	        <th>7 Days</th>
	        <th>28 Days</th>
	        <th>56 Days</th>
	        <th>112 Days</th>
	      </tr>
	      <tr>
	        <td>{% person_status object %}</td>
	        <td>{% person_allocation object 7 %}</td>
	        <td>{% person_allocation object 28 %}</td>
   			<td>{% person_allocation object 56 %}</td>
   			<td>{% person_allocation object 112 %}</td>
   		  </tr>
   		</table>
	    
	    <h1>Tasks Due Today (Summary)</h1>
   		{% list_todays_tasks object %}
   		
	    <h1>Overdue Tasks (Summary)</h1>
   		{% list_overdue_tasks object %}	
	
		<h1>Deliverables (Summary)</h1>
		{% list_incomplete_deliverables object %}
   		
        <h1>Objectives (Summary)</h1>
		{% list_objectives object %}
   		
	    <h1>All Tasks (Summary)</h1>
   		{% list_incomplete_tasks object %}	
   		
   		<hr/>
   		
	    <h1>All Tasks (Detail)</h1>
   		{% detail_incomplete_tasks object %}	
   		
   		<hr/>
   	
		<h1>Deliverables (Detail)</h1>
		{% detail_incomplete_deliverables object %}
			
   		<hr/>
	
        <h1>Objectives (Detail)</h1>
		{% detail_objectives object %}

	</div>
{% endblock %}
